package cn.hairui.blog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * <p>
 * 相册表
 * </p>
 *
 * @author laoganbu
 * @since 2020-04-15
 */
public class Album implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 名称
     */
    @TableField("NAME")
    private String name;

    /**
     * 封面图
     */
    @TableField("SHOW_IMG")
    private String showImg;

    /**
     * 是否展示
     */
    @TableField("SHOW_FLAG")
    private String showFlag;

    /**
     * 介绍
     */
    @TableField("INTRODUCTION")
    private String introduction;

    /**
     * 创建时间
     */
    @TableField("CREATE_TIME")
    private String createTime;

    /**
     * 创建人
     */
    @TableField("CREATOR")
    private String creator;

    @TableField("LOCATION")
    private String location;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getShowImg() {
        return showImg;
    }

    public void setShowImg(String showImg) {
        this.showImg = showImg;
    }

    public String getShowFlag() {
        return showFlag;
    }

    public void setShowFlag(String showFlag) {
        this.showFlag = showFlag;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    @Override
    public String toString() {
        return "Album{" +
                "id=" + id +
                ", name=" + name +
                ", showImg=" + showImg +
                ", showFlag=" + showFlag +
                ", introduction=" + introduction +
                ", createTime=" + createTime +
                ", creator=" + creator +
                ", location=" + location +
                "}";
    }
}
